/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * COTaxFormFrame.java
 *
 * Created on Aug 3, 2011, 4:04:59 PM
 */

package gbbmgmt;
import java.util.*;
//import javax.swing.JOptionPane;
import javax.swing.table.*;
import java.text.*;
import java.text.DateFormat;
import java.util.Date;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import org.jdesktop.application.Action;

/**
 *
 * @author dchapman
 */
public class COTaxFormFrame extends javax.swing.JFrame {

    public NumberFormat f2 = new DecimalFormat("#0.00");

    //Arrays for Database querries to save old entires...
    public ArrayList<String[]> OLagerArray;
    public ArrayList<String[]> OPkgArray;
    public ArrayList<String[]> OCondArray;
    public ArrayList<String[]> ODestroyed;
    public ArrayList<String[]> OTRMovement;
    public ArrayList<String[]> OCustMovement;
    public ArrayList<String[]> OBarrelVol;
    public ArrayList<String[]> OBarrelPrimeMove;
    public ArrayList<String[]> OBarrelSecondMove;
    public ArrayList<String[]> OBarrelCondMove;
    public ArrayList<String[]> OCondBarrelMove;

    //Arrays for Database querries to save new entries....
    public ArrayList<String[]> LagerArray;
    public ArrayList<String[]> CondArray;
    public ArrayList<String[]> PkgArray;
    public ArrayList<String[]> NPkgArray;
    public ArrayList<String[]> Destroyed;
    public ArrayList<String[]> TRMovement;
    public ArrayList<String[]> CustMovement;
    public ArrayList<String[]> BarrelVol;
    public ArrayList<String[]> BarrelPrimeMove;
    public ArrayList<String[]> BarrelSecondMove;
    public ArrayList<String[]> BarrelCondMove;
    public ArrayList<String[]> CondBarrelMove;

    //Misc arrays needed.
    public ArrayList<String[]> FermAmt;
    public ArrayList<String[]> KegMove;
    public ArrayList<String[]> BtlMove;
    public ArrayList<String[]> BrewIDs;

    /** Creates new form COTaxFormFrame */
    public COTaxFormFrame() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        buttonGroup1 = new javax.swing.ButtonGroup();
        jButtonRunReport = new javax.swing.JButton();
        jLabel1 = new javax.swing.JLabel();
        jDateChooserStart = new com.toedter.calendar.JDateChooser();
        jLabel2 = new javax.swing.JLabel();
        jDateChooserStop = new com.toedter.calendar.JDateChooser();
        jLabel3 = new javax.swing.JLabel();
        jRadioButtonM1 = new javax.swing.JRadioButton();
        jYearChooser1 = new com.toedter.calendar.JYearChooser();
        jSeparator1 = new javax.swing.JSeparator();
        jRadioButtonM2 = new javax.swing.JRadioButton();
        jRadioButtonM3 = new javax.swing.JRadioButton();
        jRadioButtonM4 = new javax.swing.JRadioButton();
        jRadioButtonM5 = new javax.swing.JRadioButton();
        jRadioButtonM6 = new javax.swing.JRadioButton();
        jRadioButtonM7 = new javax.swing.JRadioButton();
        jRadioButtonM8 = new javax.swing.JRadioButton();
        jRadioButtonM9 = new javax.swing.JRadioButton();
        jRadioButtonM10 = new javax.swing.JRadioButton();
        jRadioButtonM11 = new javax.swing.JRadioButton();
        jRadioButtonM12 = new javax.swing.JRadioButton();
        jSeparator2 = new javax.swing.JSeparator();
        jLabel4 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();
        jLabel9 = new javax.swing.JLabel();
        jLabel10 = new javax.swing.JLabel();
        jLabel11 = new javax.swing.JLabel();
        jLabel12 = new javax.swing.JLabel();
        jLabel13 = new javax.swing.JLabel();
        jLabel14 = new javax.swing.JLabel();
        jLabel15 = new javax.swing.JLabel();
        jLabel16 = new javax.swing.JLabel();
        jLabel17 = new javax.swing.JLabel();
        jLabel18 = new javax.swing.JLabel();
        jLabel19 = new javax.swing.JLabel();
        jLabel20 = new javax.swing.JLabel();
        jLabel21 = new javax.swing.JLabel();
        jLabel22 = new javax.swing.JLabel();
        jLabel23 = new javax.swing.JLabel();
        jLabelLine1 = new javax.swing.JLabel();
        jLabelLine2 = new javax.swing.JLabel();
        jLabelLine3 = new javax.swing.JLabel();
        jLabelLine4 = new javax.swing.JLabel();
        jLabelLine5 = new javax.swing.JLabel();
        jLabelLine6 = new javax.swing.JLabel();
        jLabelLine7 = new javax.swing.JLabel();
        jLabelLine9 = new javax.swing.JLabel();
        jLabelLine10 = new javax.swing.JLabel();
        jLabelLine11 = new javax.swing.JLabel();
        jLabelLine12 = new javax.swing.JLabel();
        jLabelLine13 = new javax.swing.JLabel();
        jLabelLine14 = new javax.swing.JLabel();
        jLabelLine15 = new javax.swing.JLabel();
        jLabelLine16 = new javax.swing.JLabel();
        jLabelLine17 = new javax.swing.JLabel();
        jLabelLine18 = new javax.swing.JLabel();
        jLabelLine19 = new javax.swing.JLabel();
        jLabelLine20 = new javax.swing.JLabel();
        jLabelLine21 = new javax.swing.JLabel();
        jLabelLine22 = new javax.swing.JLabel();
        jLabelLine23 = new javax.swing.JLabel();
        jLabelLine24 = new javax.swing.JLabel();
        jLabelLine25 = new javax.swing.JLabel();
        jLabelLine26 = new javax.swing.JLabel();
        jLabelLine27 = new javax.swing.JLabel();
        jLabelLine28 = new javax.swing.JLabel();
        jLabelLine29 = new javax.swing.JLabel();
        jLabelLine30 = new javax.swing.JLabel();
        jLabelLine31 = new javax.swing.JLabel();
        jLabelLine32 = new javax.swing.JLabel();
        jLabelLine33 = new javax.swing.JLabel();
        jLabelLine34 = new javax.swing.JLabel();
        jLabelLine35 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setName("Form"); // NOI18N

        javax.swing.ActionMap actionMap = org.jdesktop.application.Application.getInstance(gbbmgmt.GBBMGMTApp.class).getContext().getActionMap(COTaxFormFrame.class, this);
        jButtonRunReport.setAction(actionMap.get("RunReport")); // NOI18N
        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(gbbmgmt.GBBMGMTApp.class).getContext().getResourceMap(COTaxFormFrame.class);
        jButtonRunReport.setText(resourceMap.getString("jButtonRunReport.text")); // NOI18N
        jButtonRunReport.setName("jButtonRunReport"); // NOI18N

        jLabel1.setText(resourceMap.getString("jLabel1.text")); // NOI18N
        jLabel1.setName("jLabel1"); // NOI18N

        jDateChooserStart.setName("jDateChooserStart"); // NOI18N

        jLabel2.setText(resourceMap.getString("jLabel2.text")); // NOI18N
        jLabel2.setName("jLabel2"); // NOI18N

        jDateChooserStop.setName("jDateChooserStop"); // NOI18N

        jLabel3.setText(resourceMap.getString("jLabel3.text")); // NOI18N
        jLabel3.setName("jLabel3"); // NOI18N

        buttonGroup1.add(jRadioButtonM1);
        jRadioButtonM1.setText(resourceMap.getString("jRadioButtonM1.text")); // NOI18N
        jRadioButtonM1.setName("jRadioButtonM1"); // NOI18N
        jRadioButtonM1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jRadioButtonM1MouseClicked(evt);
            }
        });

        jYearChooser1.setName("jYearChooser1"); // NOI18N
        jYearChooser1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jYearChooser1MouseClicked(evt);
            }
        });
        jYearChooser1.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
            public void propertyChange(java.beans.PropertyChangeEvent evt) {
                jYearChooser1PropertyChange(evt);
            }
        });

        jSeparator1.setName("jSeparator1"); // NOI18N

        buttonGroup1.add(jRadioButtonM2);
        jRadioButtonM2.setText(resourceMap.getString("jRadioButtonM2.text")); // NOI18N
        jRadioButtonM2.setName("jRadioButtonM2"); // NOI18N
        jRadioButtonM2.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jRadioButtonM2MouseClicked(evt);
            }
        });

        buttonGroup1.add(jRadioButtonM3);
        jRadioButtonM3.setText(resourceMap.getString("jRadioButtonM3.text")); // NOI18N
        jRadioButtonM3.setName("jRadioButtonM3"); // NOI18N
        jRadioButtonM3.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jRadioButtonM3MouseClicked(evt);
            }
        });

        buttonGroup1.add(jRadioButtonM4);
        jRadioButtonM4.setText(resourceMap.getString("jRadioButtonM4.text")); // NOI18N
        jRadioButtonM4.setName("jRadioButtonM4"); // NOI18N
        jRadioButtonM4.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jRadioButtonM4MouseClicked(evt);
            }
        });

        buttonGroup1.add(jRadioButtonM5);
        jRadioButtonM5.setText(resourceMap.getString("jRadioButtonM5.text")); // NOI18N
        jRadioButtonM5.setName("jRadioButtonM5"); // NOI18N
        jRadioButtonM5.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jRadioButtonM5MouseClicked(evt);
            }
        });

        buttonGroup1.add(jRadioButtonM6);
        jRadioButtonM6.setText(resourceMap.getString("jRadioButtonM6.text")); // NOI18N
        jRadioButtonM6.setName("jRadioButtonM6"); // NOI18N
        jRadioButtonM6.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jRadioButtonM6MouseClicked(evt);
            }
        });

        buttonGroup1.add(jRadioButtonM7);
        jRadioButtonM7.setText(resourceMap.getString("jRadioButtonM7.text")); // NOI18N
        jRadioButtonM7.setName("jRadioButtonM7"); // NOI18N
        jRadioButtonM7.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jRadioButtonM7MouseClicked(evt);
            }
        });

        buttonGroup1.add(jRadioButtonM8);
        jRadioButtonM8.setText(resourceMap.getString("jRadioButtonM8.text")); // NOI18N
        jRadioButtonM8.setName("jRadioButtonM8"); // NOI18N
        jRadioButtonM8.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jRadioButtonM8MouseClicked(evt);
            }
        });

        buttonGroup1.add(jRadioButtonM9);
        jRadioButtonM9.setText(resourceMap.getString("jRadioButtonM9.text")); // NOI18N
        jRadioButtonM9.setName("jRadioButtonM9"); // NOI18N
        jRadioButtonM9.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jRadioButtonM9MouseClicked(evt);
            }
        });

        buttonGroup1.add(jRadioButtonM10);
        jRadioButtonM10.setText(resourceMap.getString("jRadioButtonM10.text")); // NOI18N
        jRadioButtonM10.setName("jRadioButtonM10"); // NOI18N
        jRadioButtonM10.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jRadioButtonM10MouseClicked(evt);
            }
        });

        buttonGroup1.add(jRadioButtonM11);
        jRadioButtonM11.setText(resourceMap.getString("jRadioButtonM11.text")); // NOI18N
        jRadioButtonM11.setName("jRadioButtonM11"); // NOI18N
        jRadioButtonM11.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jRadioButtonM11MouseClicked(evt);
            }
        });

        buttonGroup1.add(jRadioButtonM12);
        jRadioButtonM12.setText(resourceMap.getString("jRadioButtonM12.text")); // NOI18N
        jRadioButtonM12.setName("jRadioButtonM12"); // NOI18N
        jRadioButtonM12.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jRadioButtonM12MouseClicked(evt);
            }
        });

        jSeparator2.setName("jSeparator2"); // NOI18N

        jLabel4.setText(resourceMap.getString("jLabel4.text")); // NOI18N
        jLabel4.setName("jLabel4"); // NOI18N

        jLabel5.setText(resourceMap.getString("jLabel5.text")); // NOI18N
        jLabel5.setName("jLabel5"); // NOI18N

        jLabel6.setText(resourceMap.getString("jLabel6.text")); // NOI18N
        jLabel6.setName("jLabel6"); // NOI18N

        jLabel7.setText(resourceMap.getString("jLabel7.text")); // NOI18N
        jLabel7.setName("jLabel7"); // NOI18N

        jLabel8.setText(resourceMap.getString("jLabel8.text")); // NOI18N
        jLabel8.setName("jLabel8"); // NOI18N

        jLabel9.setText(resourceMap.getString("jLabel9.text")); // NOI18N
        jLabel9.setName("jLabel9"); // NOI18N

        jLabel10.setText(resourceMap.getString("jLabel10.text")); // NOI18N
        jLabel10.setName("jLabel10"); // NOI18N

        jLabel11.setText(resourceMap.getString("jLabel11.text")); // NOI18N
        jLabel11.setName("jLabel11"); // NOI18N

        jLabel12.setText(resourceMap.getString("jLabel12.text")); // NOI18N
        jLabel12.setName("jLabel12"); // NOI18N

        jLabel13.setText(resourceMap.getString("jLabel13.text")); // NOI18N
        jLabel13.setName("jLabel13"); // NOI18N

        jLabel14.setText(resourceMap.getString("jLabel14.text")); // NOI18N
        jLabel14.setName("jLabel14"); // NOI18N

        jLabel15.setText(resourceMap.getString("jLabel15.text")); // NOI18N
        jLabel15.setName("jLabel15"); // NOI18N

        jLabel16.setText(resourceMap.getString("jLabel16.text")); // NOI18N
        jLabel16.setName("jLabel16"); // NOI18N

        jLabel17.setText(resourceMap.getString("jLabel17.text")); // NOI18N
        jLabel17.setName("jLabel17"); // NOI18N

        jLabel18.setText(resourceMap.getString("jLabel18.text")); // NOI18N
        jLabel18.setName("jLabel18"); // NOI18N

        jLabel19.setText(resourceMap.getString("jLabel19.text")); // NOI18N
        jLabel19.setName("jLabel19"); // NOI18N

        jLabel20.setText(resourceMap.getString("jLabel20.text")); // NOI18N
        jLabel20.setName("jLabel20"); // NOI18N

        jLabel21.setText(resourceMap.getString("jLabel21.text")); // NOI18N
        jLabel21.setName("jLabel21"); // NOI18N

        jLabel22.setText(resourceMap.getString("jLabel22.text")); // NOI18N
        jLabel22.setName("jLabel22"); // NOI18N

        jLabel23.setText(resourceMap.getString("jLabel23.text")); // NOI18N
        jLabel23.setName("jLabel23"); // NOI18N

        jLabelLine1.setText(resourceMap.getString("jLabelLine1.text")); // NOI18N
        jLabelLine1.setName("jLabelLine1"); // NOI18N

        jLabelLine2.setText(resourceMap.getString("jLabelLine2.text")); // NOI18N
        jLabelLine2.setName("jLabelLine2"); // NOI18N

        jLabelLine3.setText(resourceMap.getString("jLabelLine3.text")); // NOI18N
        jLabelLine3.setName("jLabelLine3"); // NOI18N

        jLabelLine4.setText(resourceMap.getString("jLabelLine4.text")); // NOI18N
        jLabelLine4.setName("jLabelLine4"); // NOI18N

        jLabelLine5.setText(resourceMap.getString("jLabelLine5.text")); // NOI18N
        jLabelLine5.setName("jLabelLine5"); // NOI18N

        jLabelLine6.setText(resourceMap.getString("jLabelLine6.text")); // NOI18N
        jLabelLine6.setName("jLabelLine6"); // NOI18N

        jLabelLine7.setText(resourceMap.getString("jLabelLine7.text")); // NOI18N
        jLabelLine7.setName("jLabelLine7"); // NOI18N

        jLabelLine9.setText(resourceMap.getString("jLabelLine9.text")); // NOI18N
        jLabelLine9.setName("jLabelLine9"); // NOI18N

        jLabelLine10.setText(resourceMap.getString("jLabelLine10.text")); // NOI18N
        jLabelLine10.setName("jLabelLine10"); // NOI18N

        jLabelLine11.setText(resourceMap.getString("jLabelLine11.text")); // NOI18N
        jLabelLine11.setName("jLabelLine11"); // NOI18N

        jLabelLine12.setText(resourceMap.getString("jLabelLine12.text")); // NOI18N
        jLabelLine12.setName("jLabelLine12"); // NOI18N

        jLabelLine13.setText(resourceMap.getString("jLabelLine13.text")); // NOI18N
        jLabelLine13.setName("jLabelLine13"); // NOI18N

        jLabelLine14.setText(resourceMap.getString("jLabelLine14.text")); // NOI18N
        jLabelLine14.setName("jLabelLine14"); // NOI18N

        jLabelLine15.setText(resourceMap.getString("jLabelLine15.text")); // NOI18N
        jLabelLine15.setName("jLabelLine15"); // NOI18N

        jLabelLine16.setText(resourceMap.getString("jLabelLine16.text")); // NOI18N
        jLabelLine16.setName("jLabelLine16"); // NOI18N

        jLabelLine17.setText(resourceMap.getString("jLabelLine17.text")); // NOI18N
        jLabelLine17.setName("jLabelLine17"); // NOI18N

        jLabelLine18.setText(resourceMap.getString("jLabelLine18.text")); // NOI18N
        jLabelLine18.setName("jLabelLine18"); // NOI18N

        jLabelLine19.setText(resourceMap.getString("jLabelLine19.text")); // NOI18N
        jLabelLine19.setName("jLabelLine19"); // NOI18N

        jLabelLine20.setText(resourceMap.getString("jLabelLine20.text")); // NOI18N
        jLabelLine20.setName("jLabelLine20"); // NOI18N

        jLabelLine21.setText(resourceMap.getString("jLabelLine21.text")); // NOI18N
        jLabelLine21.setName("jLabelLine21"); // NOI18N

        jLabelLine22.setText(resourceMap.getString("jLabelLine22.text")); // NOI18N
        jLabelLine22.setName("jLabelLine22"); // NOI18N

        jLabelLine23.setText(resourceMap.getString("jLabelLine23.text")); // NOI18N
        jLabelLine23.setName("jLabelLine23"); // NOI18N

        jLabelLine24.setText(resourceMap.getString("jLabelLine24.text")); // NOI18N
        jLabelLine24.setName("jLabelLine24"); // NOI18N

        jLabelLine25.setText(resourceMap.getString("jLabelLine25.text")); // NOI18N
        jLabelLine25.setName("jLabelLine25"); // NOI18N

        jLabelLine26.setText(resourceMap.getString("jLabelLine26.text")); // NOI18N
        jLabelLine26.setName("jLabelLine26"); // NOI18N

        jLabelLine27.setText(resourceMap.getString("jLabelLine27.text")); // NOI18N
        jLabelLine27.setName("jLabelLine27"); // NOI18N

        jLabelLine28.setText(resourceMap.getString("jLabelLine28.text")); // NOI18N
        jLabelLine28.setName("jLabelLine28"); // NOI18N

        jLabelLine29.setText(resourceMap.getString("jLabelLine29.text")); // NOI18N
        jLabelLine29.setName("jLabelLine29"); // NOI18N

        jLabelLine30.setText(resourceMap.getString("jLabelLine30.text")); // NOI18N
        jLabelLine30.setName("jLabelLine30"); // NOI18N

        jLabelLine31.setText(resourceMap.getString("jLabelLine31.text")); // NOI18N
        jLabelLine31.setName("jLabelLine31"); // NOI18N

        jLabelLine32.setText(resourceMap.getString("jLabelLine32.text")); // NOI18N
        jLabelLine32.setName("jLabelLine32"); // NOI18N

        jLabelLine33.setText(resourceMap.getString("jLabelLine33.text")); // NOI18N
        jLabelLine33.setName("jLabelLine33"); // NOI18N

        jLabelLine34.setText(resourceMap.getString("jLabelLine34.text")); // NOI18N
        jLabelLine34.setName("jLabelLine34"); // NOI18N

        jLabelLine35.setText(resourceMap.getString("jLabelLine35.text")); // NOI18N
        jLabelLine35.setName("jLabelLine35"); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel4)
                    .addComponent(jLabel5)
                    .addComponent(jLabel6)
                    .addComponent(jLabel7)
                    .addComponent(jLabel8)
                    .addComponent(jLabel9)
                    .addComponent(jLabel10)
                    .addComponent(jLabel11)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(10, 10, 10)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel13)
                            .addComponent(jLabel12)
                            .addComponent(jLabel14)
                            .addComponent(jLabel15)))
                    .addComponent(jLabel16)
                    .addComponent(jLabel17)
                    .addComponent(jLabel18)
                    .addComponent(jLabel19)
                    .addComponent(jLabel20)
                    .addComponent(jLabel21)
                    .addComponent(jLabel22)
                    .addComponent(jLabel23))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabelLine16)
                    .addComponent(jLabelLine17)
                    .addComponent(jLabelLine18)
                    .addComponent(jLabelLine19)
                    .addComponent(jLabelLine20)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabelLine1)
                            .addComponent(jLabelLine2)
                            .addComponent(jLabelLine3)
                            .addComponent(jLabelLine4)
                            .addComponent(jLabelLine5)
                            .addComponent(jLabelLine6)
                            .addComponent(jLabelLine7)
                            .addComponent(jLabelLine9)
                            .addComponent(jLabelLine10)
                            .addComponent(jLabelLine11)
                            .addComponent(jLabelLine12)
                            .addComponent(jLabelLine13)
                            .addComponent(jLabelLine14)
                            .addComponent(jLabelLine15))
                        .addGap(42, 42, 42)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabelLine35)
                            .addComponent(jLabelLine34)
                            .addComponent(jLabelLine33)
                            .addComponent(jLabelLine32)
                            .addComponent(jLabelLine31)
                            .addComponent(jLabelLine30)
                            .addComponent(jLabelLine29)
                            .addComponent(jLabelLine28)
                            .addComponent(jLabelLine27)
                            .addComponent(jLabelLine26)
                            .addComponent(jLabelLine25)
                            .addComponent(jLabelLine24)
                            .addComponent(jLabelLine23)
                            .addComponent(jLabelLine22)
                            .addComponent(jLabelLine21))))
                .addContainerGap(234, Short.MAX_VALUE))
            .addComponent(jSeparator2, javax.swing.GroupLayout.DEFAULT_SIZE, 607, Short.MAX_VALUE)
            .addComponent(jSeparator1, javax.swing.GroupLayout.DEFAULT_SIZE, 607, Short.MAX_VALUE)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel1)
                            .addComponent(jLabel2))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jDateChooserStart, javax.swing.GroupLayout.PREFERRED_SIZE, 141, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jDateChooserStop, javax.swing.GroupLayout.PREFERRED_SIZE, 141, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(18, 18, 18)
                        .addComponent(jLabel3)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jRadioButtonM2)
                            .addComponent(jRadioButtonM1))
                        .addGap(18, 18, 18)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jRadioButtonM3)
                            .addComponent(jRadioButtonM4))
                        .addGap(18, 18, 18)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jRadioButtonM5)
                            .addComponent(jRadioButtonM6))
                        .addGap(18, 18, 18)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jRadioButtonM7)
                            .addComponent(jRadioButtonM8))
                        .addGap(18, 18, 18)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jRadioButtonM9)
                            .addComponent(jRadioButtonM10))
                        .addGap(18, 18, 18)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jRadioButtonM11)
                            .addComponent(jRadioButtonM12)))
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jButtonRunReport)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 434, Short.MAX_VALUE)
                        .addComponent(jYearChooser1, javax.swing.GroupLayout.PREFERRED_SIZE, 66, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jButtonRunReport)
                    .addComponent(jYearChooser1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(9, 9, 9)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                        .addComponent(jLabel3)
                        .addGroup(layout.createSequentialGroup()
                            .addComponent(jDateChooserStart, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGap(9, 9, 9)
                            .addComponent(jDateChooserStop, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGroup(layout.createSequentialGroup()
                            .addComponent(jLabel1)
                            .addGap(15, 15, 15)
                            .addComponent(jLabel2)))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jRadioButtonM1)
                            .addComponent(jRadioButtonM3)
                            .addComponent(jRadioButtonM5)
                            .addComponent(jRadioButtonM7)
                            .addComponent(jRadioButtonM9)
                            .addComponent(jRadioButtonM11))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jRadioButtonM2)
                            .addComponent(jRadioButtonM4)
                            .addComponent(jRadioButtonM6)
                            .addComponent(jRadioButtonM8)
                            .addComponent(jRadioButtonM10)
                            .addComponent(jRadioButtonM12))))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jSeparator2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel4)
                    .addComponent(jLabelLine1)
                    .addComponent(jLabelLine21))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel5)
                    .addComponent(jLabelLine2)
                    .addComponent(jLabelLine22))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel6)
                    .addComponent(jLabelLine3)
                    .addComponent(jLabelLine23))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel7)
                    .addComponent(jLabelLine4)
                    .addComponent(jLabelLine24))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel8)
                    .addComponent(jLabelLine5)
                    .addComponent(jLabelLine25))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel9)
                    .addComponent(jLabelLine6)
                    .addComponent(jLabelLine26))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel10)
                    .addComponent(jLabelLine7)
                    .addComponent(jLabelLine27))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel11)
                    .addComponent(jLabelLine28))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel12)
                    .addComponent(jLabelLine9)
                    .addComponent(jLabelLine29))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel13)
                    .addComponent(jLabelLine10)
                    .addComponent(jLabelLine30))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel14)
                    .addComponent(jLabelLine11)
                    .addComponent(jLabelLine31))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel15)
                    .addComponent(jLabelLine12)
                    .addComponent(jLabelLine32))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel16)
                    .addComponent(jLabelLine13)
                    .addComponent(jLabelLine33))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel17)
                    .addComponent(jLabelLine14)
                    .addComponent(jLabelLine34))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel18)
                    .addComponent(jLabelLine15)
                    .addComponent(jLabelLine35))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel19)
                    .addComponent(jLabelLine16))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel20)
                    .addComponent(jLabelLine17))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel21)
                    .addComponent(jLabelLine18))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel22)
                    .addComponent(jLabelLine19))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel23)
                    .addComponent(jLabelLine20))
                .addContainerGap(16, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jRadioButtonM1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jRadioButtonM1MouseClicked
        // TODO add your handling code here:
        SetDates();
}//GEN-LAST:event_jRadioButtonM1MouseClicked

    private void jYearChooser1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jYearChooser1MouseClicked
        // TODO add your handling code here:
        SetDates();
}//GEN-LAST:event_jYearChooser1MouseClicked

    private void jYearChooser1PropertyChange(java.beans.PropertyChangeEvent evt) {//GEN-FIRST:event_jYearChooser1PropertyChange
        // TODO add your handling code here:
        SetDates();
}//GEN-LAST:event_jYearChooser1PropertyChange

    private void jRadioButtonM2MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jRadioButtonM2MouseClicked
        // TODO add your handling code here:
        SetDates();
    }//GEN-LAST:event_jRadioButtonM2MouseClicked

    private void jRadioButtonM3MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jRadioButtonM3MouseClicked
        // TODO add your handling code here:
        SetDates();
    }//GEN-LAST:event_jRadioButtonM3MouseClicked

    private void jRadioButtonM4MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jRadioButtonM4MouseClicked
        // TODO add your handling code here:
        SetDates();
    }//GEN-LAST:event_jRadioButtonM4MouseClicked

    private void jRadioButtonM5MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jRadioButtonM5MouseClicked
        // TODO add your handling code here:
        SetDates();
    }//GEN-LAST:event_jRadioButtonM5MouseClicked

    private void jRadioButtonM6MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jRadioButtonM6MouseClicked
        // TODO add your handling code here:
        SetDates();
    }//GEN-LAST:event_jRadioButtonM6MouseClicked

    private void jRadioButtonM7MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jRadioButtonM7MouseClicked
        // TODO add your handling code here:
        SetDates();
    }//GEN-LAST:event_jRadioButtonM7MouseClicked

    private void jRadioButtonM8MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jRadioButtonM8MouseClicked
        // TODO add your handling code here:
        SetDates();
    }//GEN-LAST:event_jRadioButtonM8MouseClicked

    private void jRadioButtonM9MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jRadioButtonM9MouseClicked
        // TODO add your handling code here:
        SetDates();
    }//GEN-LAST:event_jRadioButtonM9MouseClicked

    private void jRadioButtonM10MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jRadioButtonM10MouseClicked
        // TODO add your handling code here:
        SetDates();
    }//GEN-LAST:event_jRadioButtonM10MouseClicked

    private void jRadioButtonM11MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jRadioButtonM11MouseClicked
        // TODO add your handling code here:
        SetDates();
    }//GEN-LAST:event_jRadioButtonM11MouseClicked

    private void jRadioButtonM12MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jRadioButtonM12MouseClicked
        // TODO add your handling code here:
        SetDates();
    }//GEN-LAST:event_jRadioButtonM12MouseClicked

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new COTaxFormFrame().setVisible(true);
            }
        });
    }

    public void SetDates(){
        String StartDate = "";
        String StopDate = "";

        //String Year = jYearChooser1.toString();
        String Year = Integer.toString(jYearChooser1.getYear());

        //Set up date formater.
        DateFormat df = new SimpleDateFormat("MM/dd/yyyy");

        if(jRadioButtonM1.isSelected()){
            StartDate = "01/01/" + Year;
            StopDate = "01/31/" + Year;
        } else if(jRadioButtonM2.isSelected()){
            StartDate = "02/01/" + Year;
            StopDate = "02/28/" + Year;
        } else if(jRadioButtonM3.isSelected()){
            StartDate = "03/01/" + Year;
            StopDate = "03/31/" + Year;
        } else if(jRadioButtonM4.isSelected()){
            StartDate = "04/01/" + Year;
            StopDate = "04/30/" + Year;
        } else if(jRadioButtonM5.isSelected()){
            StartDate = "05/01/" + Year;
            StopDate = "05/31/" + Year;
        } else if(jRadioButtonM6.isSelected()){
            StartDate = "06/01/" + Year;
            StopDate = "06/30/" + Year;
        } else if(jRadioButtonM7.isSelected()){
            StartDate = "07/01/" + Year;
            StopDate = "07/31/" + Year;
        } else if(jRadioButtonM8.isSelected()){
            StartDate = "08/01/" + Year;
            StopDate = "08/31/" + Year;
        } else if(jRadioButtonM9.isSelected()){
            StartDate = "09/01/" + Year;
            StopDate = "09/30/" + Year;
        } else if(jRadioButtonM10.isSelected()){
            StartDate = "10/01/" + Year;
            StopDate = "10/31/" + Year;
        } else if(jRadioButtonM11.isSelected()){
            StartDate = "11/01/" + Year;
            StopDate = "11/30/" + Year;
        } else if(jRadioButtonM12.isSelected()){
            StartDate = "12/01/" + Year;
            StopDate = "12/31/" + Year;
        }

        try{
            Date stdt = df.parse(StartDate);
            jDateChooserStart.setDate(stdt);
            Date spdt = df.parse(StopDate);
            jDateChooserStop.setDate(spdt);
        } catch (ParseException e){
        }
    }

    public void LoadList(){
        //Set the dates...
        //Get todays date.
        java.util.Date dt = new java.util.Date();
        //java.sql.Date todaysdate = new java.sql.Date( dt.getTime());
        jDateChooserStart.setDate(dt);
        jDateChooserStop.setDate(dt);
    }

    @Action
    public void RunReport() {
        //Get Start Date.
        java.util.Date sdte = jDateChooserStart.getDate();
        java.sql.Date SDate = new java.sql.Date( sdte.getTime() );

        //Get Finish Date.
        java.util.Date fdte = jDateChooserStop.getDate();
        java.sql.Date FDate = new java.sql.Date( fdte.getTime() );

        //Add code to run querries and make report.
//Start of report.
        //Open Database connection.
        DBA.openDBCon();

        //Read Loss Log for Beers prior to start date.
        ODestroyed = DBA.RunSQLQuery("SELECT LKeg,LCellar,LBtl FROM LossLog WHERE LDate<'" +
                SDate.toString() + "'");

        OCondArray = DBA.RunSQLQuery("SELECT MovementBrewID,MovementVolume FROM Movement WHERE " +
                "MovementDate<'" + SDate.toString() + "' AND MovementStateID='15'");

        OPkgArray = DBA.RunSQLQuery("SELECT MovementBrewID,MovementVolume,MovementStateID" +
                " FROM Movement WHERE MovementDate<'" + SDate.toString() +
                "' AND ( MovementStateID='20' OR MovementStateID='21' OR MovementStateID='25')");

        OLagerArray = DBA.RunSQLQuery("SELECT MovementBrewID,MovementVolume FROM Movement WHERE " +
                "MovementDate<'" + SDate.toString() + "' AND MovementStateID='10'");

        OTRMovement = DBA.RunSQLQuery("SELECT NumHalf,NumQtr,NumSix,NumTT,NumTW,NumSF FROM Sales " +
                "WHERE SDate<'" + SDate.toString() + "' AND CustID='14'");

        OCustMovement = DBA.RunSQLQuery("SELECT NumHalf,NumQtr,NumSix,NumTT,NumTW,NumSF FROM Sales " +
                "WHERE SDate<'" + SDate.toString() + "' AND CustID!='14'");

        //What is in barrel aging.
        OBarrelVol = DBA.RunSQLQuery("SELECT BAVol FROM BarrelAging WHERE BADate<'" + SDate.toString() +
                "' AND BAVol!='0'");

        //What was moved from primary to barrels.
        OBarrelPrimeMove = DBA.RunSQLQuery("SELECT MovementBrewID,MovementVolume FROM Movement WHERE " +
                "MovementDate<'" + SDate.toString() + "' AND MovementOldState='5' AND " +
                "MovementStateID='25'");

        //What was moved from lagering to barrels.
        OBarrelSecondMove = DBA.RunSQLQuery("SELECT MovementBrewID,MovementVolume FROM Movement WHERE " +
                "MovementDate<'" + SDate.toString() + "' AND MovementOldState='10' AND " +
                "MovementStateID='25'");

        //What was moved from conditioning to barrels.
        OBarrelCondMove = DBA.RunSQLQuery("SELECT MovementBrewID,MovementVolume FROM Movement WHERE " +
                "MovementDate<'" + SDate.toString() + "' AND MovementOldState='15' AND " +
                "MovementStateID='25'");

        OCondBarrelMove = DBA.RunSQLQuery("SELECT MovementBrewID,MovementVolume FROM Movement WHERE " +
                "MovementDate<'" + SDate.toString() + "' AND MovementOldState='25' AND " +
                "MovementStateID='15'");

        //Start checking new values in selected period.
        FermAmt = DBA.RunSQLQuery("SELECT MovementVolume FROM Movement WHERE " +
                "MovementDate>='" + SDate.toString() + "' AND MovementDate<='" +
                FDate.toString() + "' AND MovementOldState='5'");

        KegMove = DBA.RunSQLQuery("SELECT MovementVolume FROM Movement WHERE " +
                "MovementDate>='" + SDate.toString() + "' AND MovementDate<='" +
                FDate.toString() + "' AND MovementStateID='20'");

        BtlMove = DBA.RunSQLQuery("SELECT MovementVolume FROM Movement WHERE " +
                "MovementDate>='" + SDate.toString() + "' AND MovementDate<='" +
                FDate.toString() + "' AND MovementStateID='21'");
        //Taproom Sales.
        TRMovement = DBA.RunSQLQuery("SELECT NumHalf,NumQtr,NumSix,NumTT,NumTW,NumSF FROM Sales " +
                "WHERE SDate>='" + SDate.toString() + "' AND SDate<='" +
                FDate.toString() + "' AND CustID='14'");
        //Customer Sales.
        CustMovement = DBA.RunSQLQuery("SELECT NumHalf,NumQtr,NumSix,NumTT,NumTW,NumSF FROM Sales " +
                "WHERE SDate>='" + SDate.toString() + "' AND SDate<='" +
                FDate.toString() + "' AND CustID!='14'");

        //#################################
        //## Check values for date range ##
        //#################################

        //Check all data again for selected date range.
        LagerArray = DBA.RunSQLQuery("SELECT MovementBrewID,MovementVolume FROM Movement WHERE " +
                "MovementDate<='" + FDate.toString() +
                "' AND MovementStateID='10'");

        Destroyed = DBA.RunSQLQuery("SELECT LKeg,LCellar,LBtl FROM LossLog WHERE " +
                "LDate>='" + SDate.toString() +
                "' AND LDate<='" + FDate.toString() +
                "'");

        CondArray = DBA.RunSQLQuery("SELECT MovementBrewID,MovementVolume FROM Movement WHERE " +
                "MovementDate<='" + FDate.toString() +
                "' AND MovementStateID='15'");

        PkgArray = DBA.RunSQLQuery("SELECT MovementBrewID,MovementVolume,MovementStateID" +
                " FROM Movement WHERE " +
                "MovementDate<='" + FDate.toString() +
                "' AND ( MovementStateID='20' OR MovementStateID='21' OR MovementStateID='25')");

        //Needed for the new packaging.
        NPkgArray = DBA.RunSQLQuery("SELECT MovementBrewID,MovementVolume,MovementStateID" +
                " FROM Movement WHERE " +
                "MovementDate>='" + SDate.toString() +
                "' AND MovementDate<='" + FDate.toString() +
                "' AND ( MovementStateID='20' OR MovementStateID='21')");

        //What was moved from primary to barrels.
        BarrelPrimeMove = DBA.RunSQLQuery("SELECT MovementBrewID,MovementVolume FROM Movement WHERE " +
                "MovementDate<='" + FDate.toString() +
                "' AND MovementOldState='5' AND MovementStateID='25'");

        //What was moved from lagering to barrels.
        BarrelSecondMove = DBA.RunSQLQuery("SELECT MovementBrewID,MovementVolume FROM Movement WHERE " +
                "MovementDate<='" + FDate.toString() +
                "' AND MovementOldState='10' AND MovementStateID='25'");

        //What was moved from conditioning to barrels.
        BarrelCondMove = DBA.RunSQLQuery("SELECT MovementBrewID,MovementVolume FROM Movement WHERE " +
                "MovementDate<='" + FDate.toString() +
                "' AND MovementOldState='15' AND MovementStateID='25'");

        CondBarrelMove = DBA.RunSQLQuery("SELECT MovementBrewID,MovementVolume FROM Movement WHERE " +
                "MovementDate<='" + FDate.toString() +
                "' AND MovementOldState='25' AND MovementStateID='15'");

        //What is in barrel aging.
        BarrelVol = DBA.RunSQLQuery("SELECT BAVol FROM BarrelAging WHERE " +
                "BADate<='" + FDate.toString() +
                "' AND BAVol!='0'");

        BrewIDs = DBA.RunSQLQuery("SELECT BrewNoteID,BrewNoteID2,BrewNoteID3,BrewNoteID4," +
                "BrewNoteID5,BrewNoteID6,RID FROM Brews WHERE " +
                "BDate>='" + SDate.toString() + "' AND BDate<'" + FDate.toString() + "'");

        //Close the database connection.
        DBA.closeDBCon();

        //Perform calculations on Result sets.
        //Determine Loss before start date.
        float OKegDestroy = 0;
        float OBBLDestroy = 0;
        float OBtlDestroy = 0;
        for(String s[] : ODestroyed){
            OKegDestroy += Float.valueOf(s[0].trim()).floatValue();
            OBBLDestroy += Float.valueOf(s[1].trim()).floatValue();
            OBtlDestroy += Float.valueOf(s[2].trim()).floatValue();
        }

        //Calculate the total beer racked to Conditioning before start date.
        float OTotRack = 0;
        for(String s[] : OCondArray){
            OTotRack += Float.valueOf(s[1].trim()).floatValue();
        }

        //Calculate the total Beer racked to Bottles or Kegs before start date.
        float OKegRack = 0;
        float OBtlRack = 0;
        for(String s[] : OPkgArray){
            if(s[2].equals("20")){
                OKegRack += Float.valueOf(s[1].trim()).floatValue();
            } else if (s[2].equals("21")){
                OBtlRack += Float.valueOf(s[1].trim()).floatValue();
            }
        }

        //Calculate the total beer in lagering in the cellar before start date.
        float OCellarLager = 0;
        for(String s[]: OLagerArray){
            OCellarLager += Float.valueOf(s[1].trim()).floatValue();
        }

        //Determine beer sold in taproom before start date.
        float OTRBBL = 0;
        float OTRBtl = 0;
        for(String s[]: OTRMovement){
            OTRBBL += ((Float.valueOf(s[0].trim()).floatValue())/2);
            OTRBBL += ((Float.valueOf(s[1].trim()).floatValue())/4);
            OTRBBL += ((Float.valueOf(s[2].trim()).floatValue())/6);

            OTRBtl += ((Float.valueOf(s[3].trim()).floatValue())*Global.TwentyTwoCase*Global.TTtoBBL);
            OTRBtl += ((Float.valueOf(s[4].trim()).floatValue())*Global.TwelveCase*Global.TWtoBBL);
            OTRBtl += ((Float.valueOf(s[5].trim()).floatValue())*Global.SevenFiftyCase*Global.SFtoBBL);
        }

        //Determine beer sold to customer accounts before start date.
        float OSalesBBL = 0;
        float OSalesBtl = 0;
        for(String s[]: OCustMovement){
            OSalesBBL += ((Float.valueOf(s[0].trim()).floatValue())/2);
            OSalesBBL += ((Float.valueOf(s[1].trim()).floatValue())/4);
            OSalesBBL += ((Float.valueOf(s[2].trim()).floatValue())/6);

            OSalesBtl += ((Float.valueOf(s[3].trim()).floatValue())*Global.TwentyTwoCase*Global.TTtoBBL);
            OSalesBtl += ((Float.valueOf(s[4].trim()).floatValue())*Global.TwelveCase*Global.TWtoBBL);
            OSalesBtl += ((Float.valueOf(s[5].trim()).floatValue())*Global.SevenFiftyCase*Global.SFtoBBL);
        }

        //###############################
        //PERFORM SAME OPS FOR NEW RANGE.
        //###############################

        float KegDestroy = 0;
        float BBLDestroy = 0;
        float BtlDestroy = 0;
        for(String s[] : Destroyed){
            KegDestroy += Float.valueOf(s[0].trim()).floatValue();
            BBLDestroy += Float.valueOf(s[1].trim()).floatValue();
            BtlDestroy += Float.valueOf(s[2].trim()).floatValue();
        }

        //Calculate the total beer racked to Conditionin.
        float TotRack = 0;
        for(String s[] : CondArray){
            TotRack += Float.valueOf(s[1].trim()).floatValue();
        }

        //Calculate the total Beer racked to Bottles or Kegs.
        float KegRack = 0;
        float BtlRack = 0;
        for(String s[] : NPkgArray){
            if(s[2].equals("20")){
                KegRack += Float.valueOf(s[1].trim()).floatValue();
            } else if (s[2].equals("21")){
                BtlRack += Float.valueOf(s[1].trim()).floatValue();
            }
        }

        //Calculate the total beer in lagering.
        float CellarLager = 0;
        for(String s[]: LagerArray){
            CellarLager += Float.valueOf(s[1].trim()).floatValue();
        }

        //Determine beer sold in taproom.
        float TRBBL = 0;
        float TRBtl = 0;
        for(String s[]: TRMovement){
            TRBBL += ((Float.valueOf(s[0].trim()).floatValue())/2);
            TRBBL += ((Float.valueOf(s[1].trim()).floatValue())/4);
            TRBBL += ((Float.valueOf(s[2].trim()).floatValue())/6);

            TRBtl += ((Float.valueOf(s[3].trim()).floatValue())*Global.TwentyTwoCase*Global.TTtoBBL);
            TRBtl += ((Float.valueOf(s[4].trim()).floatValue())*Global.TwelveCase*Global.TWtoBBL);
            TRBtl += ((Float.valueOf(s[5].trim()).floatValue())*Global.SevenFiftyCase*Global.SFtoBBL);
        }

        //Determine beer sold to customer accounts.
        float SalesBBL = 0;
        float SalesBtl = 0;
        for(String s[]: CustMovement){
            SalesBBL += ((Float.valueOf(s[0].trim()).floatValue())/2);
            SalesBBL += ((Float.valueOf(s[1].trim()).floatValue())/4);
            SalesBBL += ((Float.valueOf(s[2].trim()).floatValue())/6);

            SalesBtl += ((Float.valueOf(s[3].trim()).floatValue())*Global.TwentyTwoCase*Global.TTtoBBL);
            SalesBtl += ((Float.valueOf(s[4].trim()).floatValue())*Global.TwelveCase*Global.TWtoBBL);
            SalesBtl += ((Float.valueOf(s[5].trim()).floatValue())*Global.SevenFiftyCase*Global.SFtoBBL);
        }

        //#############################################
        //#Perform all calculations on Previous dates #
        //#############################################

        //Calculate Kegs Left After Sales before start date.
        float OKegsLeft = OKegRack - OTRBBL - OSalesBBL - OKegDestroy;

        //Calculate Bottles left after sales before start date.
        float OBtlLeft = OBtlRack - OTRBtl - OSalesBtl - OBtlDestroy;

        //Sort through various arrays to determine which beers are located where.
        float OCondLeft = 0;
        float OCondLoss = 0;
        float OCondNotMoved = 0;

        //Variables used for following algorithms.
        boolean ca = false;
        float CurVol = 0;
        //Sort through conditioning to determine if beer is packaged, still in
        //conditioning, or considered loss.
        for(String s[] : OCondArray){
            //Set ca to false every time through.
            ca = false;
            //Set total Volume of current brew.
            CurVol = Float.valueOf(s[1].trim()).floatValue();
            for(String t[] : OPkgArray){
                //Compare volume of packaging and conditioning.
                //First check if the are the same brew number.
                if(t[0].equals(s[0])){
                    CurVol -= Float.valueOf(t[1].trim()).floatValue();
                    ca = true;
                }
            }
            if (ca == false){
                /*If this flag wasn't set, then this beer has not yet
                 been packaged so this needs to be added to the 'not moved
                 value'.*/
                OCondNotMoved += Float.valueOf(s[1].trim()).floatValue();
            } else {
                if (CurVol > 0.5){
                    //If the current volume is greater than 0.9, we add it
                    //to the Old Conditioning Left value.
                    OCondLeft += CurVol;
                } else {
                    //Anything less than 0.9 BBL is considered loss and needs
                    //to be added to the Conditioning Loss value.
                    OCondLoss += CurVol;
                }
            }
        }

        //Now repeat this algorithm for the lager tanks.
        float OLagerLeft = 0;
        float OLagerLoss = 0;
        float OLagerNotMoved = 0;

        for(String s[] : OLagerArray){
            //Set ca to false every time through.
            ca = false;
            //Set total Volume of current brew.
            CurVol = Float.valueOf(s[1].trim()).floatValue();
            for(String t[] : OCondArray){
                //Compare volume of packaging and conditioning.
                //First check if the are the same brew number.
                if(t[0].equals(s[0])){
                    CurVol -= Float.valueOf(t[1].trim()).floatValue();
                    ca = true;
                }
            }
            if (ca == false){
                /*If this flag wasn't set, then this beer has not yet
                 been packaged so this needs to be added to the 'not moved
                 value'.*/
                OLagerNotMoved += Float.valueOf(s[1].trim()).floatValue();
            } else {
                if (CurVol > 1){
                    //If the current volume is greater than 0.9, we add it
                    //to the Old Conditioning Left value.
                    OLagerLeft += CurVol;
                } else {
                    //Anything less than 0.9 BBL is considered loss and needs
                    //to be added to the Conditioning Loss value.
                    OLagerLoss += CurVol;
                }
            }
        }

        //Sort through the old barrel volume and determine quantitie in the barrels prior to period.
        float OBarrelVolume = 0;
        for (String s[] : OBarrelVol){
            OBarrelVolume += Float.valueOf(s[0].trim()).floatValue();
        }

        //Now determine numbers moved from primary, secondary, and conditioning to barrels.
        float OBFVtoAge = 0;
        float OBLagtoAge = 0;
        float OBContoAge = 0;

        for (String s[] : OBarrelPrimeMove){
            OBFVtoAge += Float.valueOf(s[1].trim()).floatValue();
        }
        for (String s[] : OBarrelSecondMove){
            OBLagtoAge += Float.valueOf(s[1].trim()).floatValue();
        }
        for (String s[] : OBarrelCondMove){
            OBContoAge += Float.valueOf(s[1].trim()).floatValue();
        }
        //Now determine the beer moved from barrels back to conditioning.
        float OBAgetoCon = 0;
        for (String s[] : OCondBarrelMove){
            OBAgetoCon += Float.valueOf(s[1].trim()).floatValue();
        }

        /*Now we will calculate the "Aging Value", this value is the negative sum of all
         beer removed from the cellar to aging plus beer return back into cellar.
         This value must be subtracted from the beer totals so barrel vol can be added back in
         (These should always equal each other).*/
        //float OAgingValue = (OBFVtoAge + OBLagtoAge + OBContoAge) - OBAgetoCon;
        float OAgingValue = (OBFVtoAge + OBLagtoAge + OBContoAge);

        /*Total up the current volume in cellars.
         Volume left equals total lagering (Lager Left and Lager Not Moved)...
         Plus total conditioning (Cond Left and Cond Not Moved) minus any
         destroyed beer plus barrels minus anything removed from barrels.*/
        float OVolCelLeft = (OLagerLeft + OLagerNotMoved + OCondLeft + OCondNotMoved) +
                OBarrelVolume - OBBLDestroy;

        //Now determine the amount of beer produced from fermentation.
        float FermProd = 0;
        for (String s[] : FermAmt){
            FermProd += Float.valueOf(s[0].trim()).floatValue();
        }

        //Now determine beer racked to kegs and bottles.
        float Keg = 0;
        float Btl = 0;
        for (String s[] : KegMove){
            Keg += Float.valueOf(s[0].trim()).floatValue();
        }
        for (String s[] : BtlMove){
            Btl += Float.valueOf(s[0].trim()).floatValue();
        }

        //########################################
        //#Perform all calculations on new dates #
        //########################################
        
        //Calculate Kegs Left.
        float KegsLeft = OKegsLeft + KegRack - (TRBBL + SalesBBL + KegDestroy);

        //Calculate Bottles.
        float BtlLeft = OBtlLeft + BtlRack - (TRBtl + SalesBtl + BtlDestroy);
        
        //Sort through various arrays to determine which beers are located where.
        float CondLeft = 0;
        float CondLoss = 0;
        float CondNotMoved = 0;

        //Variables used for following algorithms.
        ca = false;
        CurVol = 0;
        //Sort through conditioning to determine if beer is packaged, still in
        //conditioning, or considered loss.
        for(String s[] : CondArray){
            //Set ca to false every time through.
            ca = false;
            //Set total Volume of current brew.
            CurVol = Float.valueOf(s[1].trim()).floatValue();
            for(String t[] : PkgArray){
                //Compare volume of packaging and conditioning.
                //First check if the are the same brew number.
                if(t[0].equals(s[0])){
                    CurVol -= Float.valueOf(t[1].trim()).floatValue();
                    ca = true;
                }
            }
            if (ca == false){
                /*If this flag wasn't set, then this beer has not yet
                 been packaged so this needs to be added to the 'not moved
                 value'.*/
                CondNotMoved += Float.valueOf(s[1].trim()).floatValue();
            } else {
                if (CurVol > 0.5){
                    //If the current volume is greater than 0.9, we add it
                    //to the Old Conditioning Left value.
                    CondLeft += CurVol;
                } else {
                    //Anything less than 0.9 BBL is considered loss and needs
                    //to be added to the Conditioning Loss value.
                    CondLoss += CurVol;
                }
            }
        }

        //Now repeat this algorithm for the lager tanks.
        float LagerLeft = 0;
        float LagerLoss = 0;
        float LagerNotMoved = 0;

        for(String s[] : LagerArray){
            //Set ca to false every time through.
            ca = false;
            //Set total Volume of current brew.
            CurVol = Float.valueOf(s[1].trim()).floatValue();
            for(String t[] : CondArray){
                //Compare volume of packaging and conditioning.
                //First check if the are the same brew number.
                if(t[0].equals(s[0])){
                    CurVol -= Float.valueOf(t[1].trim()).floatValue();
                    ca = true;
                }
            }
            if (ca == false){
                /*If this flag wasn't set, then this beer has not yet
                 been packaged so this needs to be added to the 'not moved
                 value'.*/
                LagerNotMoved += Float.valueOf(s[1].trim()).floatValue();
            } else {
                if (CurVol > 1){
                    //If the current volume is greater than 0.9, we add it
                    //to the Old Conditioning Left value.
                    LagerLeft += CurVol;
                } else {
                    //Anything less than 0.9 BBL is considered loss and needs
                    //to be added to the Conditioning Loss value.
                    LagerLoss += CurVol;
                }
            }
        }

        //Sort through the old barrel volume and determine quantitie in the barrels prior to period.
        float BarrelVolume = 0;
        for (String s[] : BarrelVol){
            BarrelVolume += Float.valueOf(s[0].trim()).floatValue();
        }

        //Now determine numbers moved from primary, secondary, and conditioning to barrels.
        float BFVtoAge = 0;
        float BLagtoAge = 0;
        float BContoAge = 0;

        for (String s[] : BarrelPrimeMove){
            BFVtoAge += Float.valueOf(s[1].trim()).floatValue();
        }
        for (String s[] : BarrelSecondMove){
            BLagtoAge += Float.valueOf(s[1].trim()).floatValue();
        }
        for (String s[] : BarrelCondMove){
            BContoAge += Float.valueOf(s[1].trim()).floatValue();
        }
        //Now determine the beer moved from barrels back to conditioning.
        float BAgetoCon = 0;
        for (String s[] : CondBarrelMove){
            BAgetoCon += Float.valueOf(s[1].trim()).floatValue();
        }
        
        /*Now we will calculate the "Aging Value", this value is the negative sum of all
         beer removed from the cellar to aging plus beer return back into cellar.
         This value must be subtracted from the beer totals so barrel vol can be added back in
         (These should always equal each other).*/
        //float OAgingValue = (OBFVtoAge + OBLagtoAge + OBContoAge) - OBAgetoCon;
        float AgingValue = (BFVtoAge + BLagtoAge + BContoAge);

        /*Total up the current volume in cellars.
         Volume left equals total lagering (Lager Left and Lager Not Moved)...
         Plus total conditioning (Cond Left and Cond Not Moved) minus any
         destroyed beer plus barrels minus anything removed from barrels.*/
        //float VolCelLeft = LagerLeft + LagerNotMoved + CondLeft + CondNotMoved +
                //BarrelVolume - AgingValue - (BBLDestroy + OBBLDestroy);
        float VolCelLeft = (LagerLeft + LagerNotMoved + CondLeft + CondNotMoved) +
                BarrelVolume - (BBLDestroy + OBBLDestroy);

        float totloss = (LagerLoss - OLagerLoss) + (CondLoss - OCondLoss);

        //Display beginning inventory in Gallons
        float Line1 = (OVolCelLeft + OKegsLeft + OBtlLeft) * 31;
        jLabelLine1.setText(f2.format(Line1));
        float Line2 = (FermProd - totloss) * 31;
        jLabelLine2.setText(f2.format(Line2));
        float Line3 = 0;
        jLabelLine3.setText(f2.format(Line3));
        float Line4 = 0;
        jLabelLine4.setText(f2.format(Line4));
        float Line5 = Line1 + Line2 + Line3 + Line4;
        jLabelLine5.setText(f2.format(Line5));
        float Line6 = (VolCelLeft + KegsLeft + BtlLeft) * 31;
        jLabelLine6.setText(f2.format(Line6));
        float Line7 = Line5 - Line6;
        jLabelLine7.setText(f2.format(Line7));
        float Line8a = 0;
        jLabelLine9.setText(f2.format(Line8a));
        float Line8b = 0;
        jLabelLine10.setText(f2.format(Line8b));
        float Line8c = (BBLDestroy + KegDestroy + BtlDestroy) * 31;
        jLabelLine11.setText(f2.format(Line8c));
        float Line8d = Line8a + Line8b + Line8c;
        jLabelLine12.setText(f2.format(Line8d));
        float Line9 = Line7 - Line8d;
        jLabelLine13.setText(f2.format(Line9));
        float Line10 = 0;
        jLabelLine14.setText(f2.format(Line10));
        float Line11 = Line9 - Line10;
        jLabelLine15.setText("$ " + f2.format(Line11));
        float Line12 = (float)Global.COTax;
        jLabelLine16.setText("$ " + f2.format(Line12));
        float Line13 = Line11 * Line12;
        jLabelLine17.setText("$ " + f2.format(Line13));
        float Line14 = 0;
        jLabelLine18.setText("$ " + f2.format(Line14));
        float Line15 = 0;
        jLabelLine19.setText("$ " + f2.format(Line15));
        float Line16 = Line13 + Line14 + Line15;
        jLabelLine20.setText("$ " + f2.format(Line16));

    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.ButtonGroup buttonGroup1;
    private javax.swing.JButton jButtonRunReport;
    private com.toedter.calendar.JDateChooser jDateChooserStart;
    private com.toedter.calendar.JDateChooser jDateChooserStop;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel19;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel20;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel22;
    private javax.swing.JLabel jLabel23;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JLabel jLabelLine1;
    private javax.swing.JLabel jLabelLine10;
    private javax.swing.JLabel jLabelLine11;
    private javax.swing.JLabel jLabelLine12;
    private javax.swing.JLabel jLabelLine13;
    private javax.swing.JLabel jLabelLine14;
    private javax.swing.JLabel jLabelLine15;
    private javax.swing.JLabel jLabelLine16;
    private javax.swing.JLabel jLabelLine17;
    private javax.swing.JLabel jLabelLine18;
    private javax.swing.JLabel jLabelLine19;
    private javax.swing.JLabel jLabelLine2;
    private javax.swing.JLabel jLabelLine20;
    private javax.swing.JLabel jLabelLine21;
    private javax.swing.JLabel jLabelLine22;
    private javax.swing.JLabel jLabelLine23;
    private javax.swing.JLabel jLabelLine24;
    private javax.swing.JLabel jLabelLine25;
    private javax.swing.JLabel jLabelLine26;
    private javax.swing.JLabel jLabelLine27;
    private javax.swing.JLabel jLabelLine28;
    private javax.swing.JLabel jLabelLine29;
    private javax.swing.JLabel jLabelLine3;
    private javax.swing.JLabel jLabelLine30;
    private javax.swing.JLabel jLabelLine31;
    private javax.swing.JLabel jLabelLine32;
    private javax.swing.JLabel jLabelLine33;
    private javax.swing.JLabel jLabelLine34;
    private javax.swing.JLabel jLabelLine35;
    private javax.swing.JLabel jLabelLine4;
    private javax.swing.JLabel jLabelLine5;
    private javax.swing.JLabel jLabelLine6;
    private javax.swing.JLabel jLabelLine7;
    private javax.swing.JLabel jLabelLine9;
    private javax.swing.JRadioButton jRadioButtonM1;
    private javax.swing.JRadioButton jRadioButtonM10;
    private javax.swing.JRadioButton jRadioButtonM11;
    private javax.swing.JRadioButton jRadioButtonM12;
    private javax.swing.JRadioButton jRadioButtonM2;
    private javax.swing.JRadioButton jRadioButtonM3;
    private javax.swing.JRadioButton jRadioButtonM4;
    private javax.swing.JRadioButton jRadioButtonM5;
    private javax.swing.JRadioButton jRadioButtonM6;
    private javax.swing.JRadioButton jRadioButtonM7;
    private javax.swing.JRadioButton jRadioButtonM8;
    private javax.swing.JRadioButton jRadioButtonM9;
    private javax.swing.JSeparator jSeparator1;
    private javax.swing.JSeparator jSeparator2;
    private com.toedter.calendar.JYearChooser jYearChooser1;
    // End of variables declaration//GEN-END:variables

}
